package com.realone.packman.codec.decoder.vo;

/**
 * 获取BMS电流 应答响应
 *
 * @author hugx
 * @create 2018-09-14 13:16
 */
public class BmsDecoderDataVo12 extends BmsDecoderDataVo {

    private int rechargeState; //电池包充放电状态和电流
    private Double electricitySize; //电流大小

    public BmsDecoderDataVo12(Integer classType) {
        super(classType);
    }

    /**
     * 电池包充放电状态和电流
     * @return 0: 静态； 1: 充电
     */
    public int getRechargeState() {
        return rechargeState;
    }

    /**
     * 电池包充放电状态和电流
     * @param rechargeState  0: 静态； 1: 充电
     */
    public void setRechargeState(int rechargeState) {
        this.rechargeState = rechargeState;
    }

    /**
     * 电流大小
     * @return
     */
    public Double getElectricitySize() {
        return electricitySize;
    }

    /**
     * 电流大小
     * @param electricitySize
     */
    public void setElectricitySize(Double electricitySize) {
        this.electricitySize = electricitySize;
    }
}
